package com.push.web.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.push.common.annotation.Excel;
import com.push.common.core.domain.BaseEntity;

/**
 * WOS对象 biz_bibinfo_wos
 *
 * @author yanxi
 * @date 2022-07-27
 */
public class BizBibinfoWos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 检索式标题 */
    @Excel(name = "检索式标题")
    private String searchTitle;

    /** 检索URL */
    @Excel(name = "检索URL")
    private String searchUrl;

    /** 结果数量 */
    @Excel(name = "结果数量")
    private Long resultNum;

    /** 结果文件 */
    @Excel(name = "结果文件")
    private String resultFile;

    /** 更新结果数量 */
    @Excel(name = "更新结果数量")
    private Long refreshNum;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refreshDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 租户ID */
    private String tenantId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setSearchTitle(String searchTitle)
    {
        this.searchTitle = searchTitle;
    }

    public String getSearchTitle()
    {
        return searchTitle;
    }
    public void setSearchUrl(String searchUrl)
    {
        this.searchUrl = searchUrl;
    }

    public String getSearchUrl()
    {
        return searchUrl;
    }
    public void setResultNum(Long resultNum)
    {
        this.resultNum = resultNum;
    }

    public Long getResultNum()
    {
        return resultNum;
    }
    public void setResultFile(String resultFile)
    {
        this.resultFile = resultFile;
    }

    public String getResultFile()
    {
        return resultFile;
    }
    public void setRefreshNum(Long refreshNum)
    {
        this.refreshNum = refreshNum;
    }

    public Long getRefreshNum()
    {
        return refreshNum;
    }
    public void setRefreshDate(Date refreshDate)
    {
        this.refreshDate = refreshDate;
    }

    public Date getRefreshDate()
    {
        return refreshDate;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }
    public void setTenantId(String tenantId)
    {
        this.tenantId = tenantId;
    }

    public String getTenantId()
    {
        return tenantId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("searchTitle", getSearchTitle())
            .append("searchUrl", getSearchUrl())
            .append("resultNum", getResultNum())
            .append("resultFile", getResultFile())
            .append("refreshNum", getRefreshNum())
            .append("refreshDate", getRefreshDate())
            .append("createDate", getCreateDate())
            .append("tenantId", getTenantId())
            .toString();
    }
}
